package edu.yzu.testspringboot002.po.dto.daily;


import edu.yzu.testspringboot002.utils.group.GroupInsert;
import edu.yzu.testspringboot002.utils.group.GroupQuery;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author yulang
 * @date 2023-09-05
 */
@Data
public class DailyScheduleDTO implements Serializable {

    private static final long serialVersionUID = -7228500476016219906L;


    @ApiModelProperty(value = "医生id")
    private Integer doctorId;

    private List<Integer> doctorIdList;

    @ApiModelProperty("日期 2023-09-05")
    @NotBlank(message = " 日期不能为空",groups = {GroupInsert.class, GroupQuery.class})
    private String dateDaily;

    @ApiModelProperty("开始时段 08:00")
//    @NotBlank(message = " 开始时段不能为空" ,groups = {GroupInsert.class})
    private String startRange;

    @ApiModelProperty("结束时段 09：00")
//    @NotBlank(message = "结束时段 不能为空",groups = {GroupInsert.class})
    private String endRange;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("会议名称")
    @NotBlank(message = " 会议名称不能为空",groups = {GroupInsert.class})
    private String mettingName;

    @ApiModelProperty("会议主题")
//    @NotBlank(message = " 会议主题不能为空",groups = {GroupInsert.class})
    private String mettingSubject;

    @ApiModelProperty("参会医生人员")
    private String doctorIds;


    @ApiModelProperty("患者人员")
    private String patinetIds;

    @ApiModelProperty("活动类型 0：'图文会诊' 1：'视频会诊' 2：'其他' ")
    private Integer activityType;

}
